﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CapturePackage.Model
{
    [SugarTable("textmigration")]//当和数据库名称不一样可以设置表别名 指定表明
    public class Textmigration
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int Id { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string confluenceId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareWikiId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string ConfluenceSpaceId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareSpaceId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string Title { get; set; }

        [SugarColumn(IsNullable = true)]
        public int? IsMigration { get; set; }

        //[SugarColumn(IsNullable = true)]
        //public int? IsDelete { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string ConfluenceUrl { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(500)", IsNullable = true)]
        public string AnyShareUrl { get; set; }

        /// <summary>
        /// s
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int IsLinkMigration { get; set; }

        /// <summary>
        /// 
        /// </summary>
        //[SugarColumn(IsNullable = true)]
        //public int IsImageMigration { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int IsAttachmentMigration { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string DateTime { get; set; }


        [SugarColumn(IsNullable = true)]
        public int Retry { get; set; }

        [SugarColumn(IsNullable = true)]
        public int AttachmentInfo { get; set; }

        [SugarColumn(IsNullable = true)]
        public int LinkInfo { get; set; }

        [SugarColumn(IsNullable = true)]
        public int ImageInfo { get; set; }

        [SugarColumn(IsNullable = true)]
        public int IsCommentmigration { get; set; }

        [SugarColumn(IsNullable = true)]
        public int IsLikemigration { get; set; }
    }
}
